home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
usr
/
share
/
perl
/
5.10.0
/
version.pm
< prev
next >
Wrap
Text File
|
2008-07-24
|
376b
|
26 lines
#!perl -w
package version;
use 5.005_04;
use strict;
use vars qw(@ISA $VERSION $CLASS *qv);
$VERSION = 0.74;
$CLASS = 'version';
# Preloaded methods go here.
sub import {
my ($class) = @_;
my $callpkg = caller();
no strict 'refs';
*{$callpkg."::qv"} =
sub {return bless version::qv(shift), $class }
unless defined (&{"$callpkg\::qv"});
}
1;